package org.flower.entity;

public class Address {
	/**
	 * 编号
	 */
	private int id;
	/**
	 * 用户编号
	 */
	private int userId;
	/**
	 * 电话
	 */
	private String phone;
	/**
	 * 地址详情
	 */
	private String addressContent;
	/**
	 * 收获人姓名
	 */
	private String shouName;
	/**
	 * 是否为默认地址
	 */
	private boolean isDefault;
	/**
	 * 省编号
	 */
	private int province;
	/**
	 * 市编号
	 */
	private int city;
	/**
	 * 区编号
	 */
	private int area;
	//省
	private String sheng;
	//市
	private String shi;
	//区
	private String qu;

	public Address() {}

	public Address(int id, int userId, String phone, String addressContent,
				   String shouName, boolean isDefault, int province,
				   int city, int area, String sheng, String shi, String qu) {
		this.id = id;
		this.userId = userId;
		this.phone = phone;
		this.addressContent = addressContent;
		this.shouName = shouName;
		this.isDefault = isDefault;
		this.province = province;
		this.city = city;
		this.area = area;
		this.sheng = sheng;
		this.shi = shi;
		this.qu = qu;
	}

	public int getId() {
		return id;
	}

	public int getUserId() {
		return userId;
	}

	public String getPhone() {
		return phone;
	}

	public String getAddressContent() {
		return addressContent;
	}

	public String getShouName() {
		return shouName;
	}

	public boolean getisDefault() {
		return isDefault;
	}
	public boolean isDefault() {
		return isDefault;
	}

	public int getProvince() {
		return province;
	}

	public int getCity() {
		return city;
	}

	public int getArea() {
		return area;
	}

	public String getSheng() {
		return sheng;
	}

	public String getShi() {
		return shi;
	}

	public String getQu() {
		return qu;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setAddressContent(String addressContent) {
		this.addressContent = addressContent;
	}

	public void setShouName(String shouName) {
		this.shouName = shouName;
	}

	public void setDefault(boolean aDefault) {
		this.isDefault = aDefault;
	}

	public void setProvince(int province) {
		this.province = province;
	}

	public void setCity(int city) {
		this.city = city;
	}

	public void setArea(int area) {
		this.area = area;
	}

	public void setSheng(String sheng) {
		this.sheng = sheng;
	}

	public void setShi(String shi) {
		this.shi = shi;
	}

	public void setQu(String qu) {
		this.qu = qu;
	}
}
